package com.jiuyin.dianjing.ui.activity.team;

import android.view.View;

import com.jiuyin.dianjing.R;
import com.jiuyin.dianjing.ui.activity.base.BaseActivity;

import butterknife.OnClick;

public class ChooseActivity extends BaseActivity {

    @Override
    protected int setLayoutId() {
        return R.layout.activity_choose;
    }

    @Override
    protected void initData() {
    }

    @Override
    protected void initView() {
        setTitle(getString(R.string.match_team_title));
    }

    @OnClick({R.id.layout_create, R.id.layout_join})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.layout_create:
                goTargetActivity(CreateTeamActivity.class);
                break;
            case R.id.layout_join:
                goTargetActivity(JoinTeam1Activity.class);
                break;
        }
    }
}
